package mz.co.research.server.mvc.model.dao.jpa;

import javax.annotation.PostConstruct;
import javax.persistence.EntityManagerFactory;

import mz.co.research.shared.model.Research;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository("researchJpaDao")
public class ResearchJpaDao extends AbstractJpaDao<Long, Research> {

	@Autowired
	EntityManagerFactory entityManagerFactory;

	@PostConstruct
	public void init() {
		super.setEntityManagerFactory(entityManagerFactory);
	}
}
